<template>
	<view class="im-msg-item-com">
		<view class="item-layout">
			<view class="layout-left">
				<image class="avatar"></image>
			</view>
			<view class="layout-right">
				<view class="msg-content">
					这是一条消息，这是一条消息，这是一条消息
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'im-msg-item-com'
	}
</script>

<style lang="scss" scoped>
	.im-msg-item-com{
		width: 100%;
		.item-layout{
			display: flex;
			.layout-left{
				width: 40px;
				.avatar{
					width: 40px;
					height: 40px;
					border-radius: 100%;
					background-color: #fff;
				}
			}
			.layout-right{
				padding: 0 50px 0 0;
				margin-left: 10px;
				.msg-content{
					padding: 10px;
					border-radius: 5rpx 20rpx 5rpx 20rpx;
					background-color: #fff;
					font-size: $ft-size-base;
					color: $text-content-color;
				}
			}
		}
	}
</style>